/*
 * @Description: mixin
 * @Author: Xiaowen丶
 * @Date: 2020-03-11 17:00:00
 * @LastEditors  : Xiaowen丶
 * @LastEditTime : 2020-03-11 17:00:00
 */
import config from "../config/index.js"
import {
	mainColor
} from "../utils/const.js"
const mixin = {
	data() {
		return {
			backgroundConfig: {
				// 导航栏背景图
				background: '#fff'
			},
			pageShow: false,
			mainColor: mainColor,
		}
	},
	methods: {

		// 跳转页面
		toPage(url) {
			uni.navigateTo({
				url
			})
		},
	}
}

export default mixin
